﻿﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace CenyLetu
{
    static class Program
    {
        private static Planovac planovac;

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            planovac = new Planovac();
            planovac.ZaregistrujTriggery();
            planovac.SpustPlanovac();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());

            planovac.UkonciPlanovacASpojVlakna();
            Log.DejInstanci().Dispose();
        }
    }
}